package com.itheima.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.itheima.core.dao.BaseDictDao;
import com.itheima.core.po.BaseDict;
import com.itheima.core.service.BaseDictService;

/**
 *	@author zangye03
 *	date Jul 17, 20214:43:36 PM
 *	Description	 
 *	数据字典Service接口实现类	
 */

@Service("baseDictService")
public class BaseDictServiceImpl implements BaseDictService{

	@Autowired
	private BaseDictDao baseDictDao;
	
	/**
	 * 根据类别代码查询数据字典
	 */
	@Override
	public List<BaseDict> findBaseByTypeCode(String typeCode) {
		return baseDictDao.selectBaseDictByTypeCode(typeCode);
	}
}
